package com.vsp.vatex.sintaxis.main;



 public class Factorial  {
	 
 int calcular(int n){
	       
	       if(n<=0) 
		   return 1;   
           else
           return n*calcular(n-1);
        
	
	}
}